package com.cuit.ocp.service;

import com.cuit.ocp.bean.Staff;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OcpStaffService {
    boolean addNewStaff(Staff new_staff);
    boolean update(Staff new_staff);
    boolean deleteById(int staff_id);
    boolean deleteByIds(List<Integer> staff_id);
    List<Staff> findById(int id);
    List<Staff> findByName(String name);
    List<Staff> findAll();
}
